package com.dragon.modules.yuegou.entity.park;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 停车统计信息表实体类<br>
 * 对应的表为：park_statistics<br>
 *
 * @author pbuilder generated
 * @date 2020-03-20 15:40:25
 * @company sgy
 * @version 2.0
 */
@TableName("park_statistics")
@ApiModel(description = "停车统计信息表")
public class StatisticsEntity {

	/** 第三方ID */
	@ApiModelProperty("第三方ID")
	protected String thirdId;

	/** 商圈ID */
	@ApiModelProperty("商圈ID")
	protected String busdId;

	/** 会员ID */
	@ApiModelProperty("会员ID")
	protected String memberId;

	/** 商户id */
	@ApiModelProperty("商户id")
	protected String merchantId;

	/** 车牌号 */
	@ApiModelProperty("车牌号")
	protected String plateNumber;

	/** 停车场名称 */
	@ApiModelProperty("停车场名称")
	protected String parkingName;

	/** 停车场ID */
	@ApiModelProperty("停车场ID")
	protected String parkingId;

	/** 入场时间 */
	@ApiModelProperty("入场时间")
	protected LocalDateTime entranceTime;

	/** 出场时间 */
	@ApiModelProperty("出场时间")
	protected LocalDateTime exitTime;

	/** 停留时间(以秒为单位计算) */
	@ApiModelProperty("停留时间(以秒为单位计算)")
	protected Long stayedTime;

	/** 总停车费 */
	@ApiModelProperty("总停车费")
	protected BigDecimal parkingFee;

	/** 已缴停车费 */
	@ApiModelProperty("已缴停车费")
	protected BigDecimal paidFee;

	/** 是否收费：0-不收费；1-收费 */
	@ApiModelProperty("是否收费：0-不收费；1-收费")
	protected Boolean toll;

	/** 创建时间 */
	@ApiModelProperty("创建时间")
	protected LocalDateTime createdTime;

	/**
	 * 构造一个空停车统计信息表实体对象
	 */
	public StatisticsEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个停车统计信息表实体对象
	 *
	 * @param other 其它对象
	 */
	public StatisticsEntity(StatisticsEntity other){
		super();
		this.thirdId = other.thirdId;
		this.busdId = other.busdId;
		this.memberId = other.memberId;
		this.merchantId = other.merchantId;
		this.plateNumber = other.plateNumber;
		this.parkingName = other.parkingName;
		this.parkingId = other.parkingId;
		this.entranceTime = other.entranceTime;
		this.exitTime = other.exitTime;
		this.stayedTime = other.stayedTime;
		this.parkingFee = other.parkingFee;
		this.paidFee = other.paidFee;
		this.toll = other.toll;
		this.createdTime = other.createdTime;
	}


	/**
	 * 获取第三方ID
	 *
	 * @return thirdId 第三方ID
	 */
	public String getThirdId() {
		return thirdId;
	}

	/**
	 * 设置第三方ID
	 *
	 * @param thirdId 第三方ID
	 */
	public void setThirdId(String thirdId) {
		this.thirdId = thirdId;
	}

	/**
	 * 获取商圈ID
	 *
	 * @return busdId 商圈ID
	 */
	public String getBusdId() {
		return busdId;
	}

	/**
	 * 设置商圈ID
	 *
	 * @param busdId 商圈ID
	 */
	public void setBusdId(String busdId) {
		this.busdId = busdId;
	}

	/**
	 * 获取会员ID
	 *
	 * @return memberId 会员ID
	 */
	public String getMemberId() {
		return memberId;
	}

	/**
	 * 设置会员ID
	 *
	 * @param memberId 会员ID
	 */
	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	/**
	 * 获取商户id
	 *
	 * @return merchantId 商户id
	 */
	public String getMerchantId() {
		return merchantId;
	}

	/**
	 * 设置商户id
	 *
	 * @param merchantId 商户id
	 */
	public void setMerchantId(String merchantId) {
		this.merchantId = merchantId;
	}

	/**
	 * 获取车牌号
	 *
	 * @return plateNumber 车牌号
	 */
	public String getPlateNumber() {
		return plateNumber;
	}

	/**
	 * 设置车牌号
	 *
	 * @param plateNumber 车牌号
	 */
	public void setPlateNumber(String plateNumber) {
		this.plateNumber = plateNumber;
	}

	/**
	 * 获取停车场名称
	 *
	 * @return parkingName 停车场名称
	 */
	public String getParkingName() {
		return parkingName;
	}

	/**
	 * 设置停车场名称
	 *
	 * @param parkingName 停车场名称
	 */
	public void setParkingName(String parkingName) {
		this.parkingName = parkingName;
	}

	/**
	 * 获取停车场ID
	 *
	 * @return parkingId 停车场ID
	 */
	public String getParkingId() {
		return parkingId;
	}

	/**
	 * 设置停车场ID
	 *
	 * @param parkingId 停车场ID
	 */
	public void setParkingId(String parkingId) {
		this.parkingId = parkingId;
	}

	/**
	 * 获取入场时间
	 *
	 * @return entranceTime 入场时间
	 */
	public LocalDateTime getEntranceTime() {
		return entranceTime;
	}

	/**
	 * 设置入场时间
	 *
	 * @param entranceTime 入场时间
	 */
	public void setEntranceTime(LocalDateTime entranceTime) {
		this.entranceTime = entranceTime;
	}

	/**
	 * 获取出场时间
	 *
	 * @return exitTime 出场时间
	 */
	public LocalDateTime getExitTime() {
		return exitTime;
	}

	/**
	 * 设置出场时间
	 *
	 * @param exitTime 出场时间
	 */
	public void setExitTime(LocalDateTime exitTime) {
		this.exitTime = exitTime;
	}

	/**
	 * 获取停留时间(以秒为单位计算)
	 *
	 * @return stayedTime 停留时间(以秒为单位计算)
	 */
	public Long getStayedTime() {
		return stayedTime;
	}

	/**
	 * 设置停留时间(以秒为单位计算)
	 *
	 * @param stayedTime 停留时间(以秒为单位计算)
	 */
	public void setStayedTime(Long stayedTime) {
		this.stayedTime = stayedTime;
	}

	/**
	 * 获取总停车费
	 *
	 * @return parkingFee 总停车费
	 */
	public BigDecimal getParkingFee() {
		return parkingFee;
	}

	/**
	 * 设置总停车费
	 *
	 * @param parkingFee 总停车费
	 */
	public void setParkingFee(BigDecimal parkingFee) {
		this.parkingFee = parkingFee;
	}

	/**
	 * 获取已缴停车费
	 *
	 * @return paidFee 已缴停车费
	 */
	public BigDecimal getPaidFee() {
		return paidFee;
	}

	/**
	 * 设置已缴停车费
	 *
	 * @param paidFee 已缴停车费
	 */
	public void setPaidFee(BigDecimal paidFee) {
		this.paidFee = paidFee;
	}

	/**
	 * 获取是否收费：0-不收费；1-收费
	 *
	 * @return toll 是否收费：0-不收费；1-收费
	 */
	public Boolean getToll() {
		return toll;
	}

	/**
	 * 设置是否收费：0-不收费；1-收费
	 *
	 * @param toll 是否收费：0-不收费；1-收费
	 */
	public void setToll(Boolean toll) {
		this.toll = toll;
	}

	/**
	 * 获取创建时间
	 *
	 * @return createdTime 创建时间
	 */
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}

	/**
	 * 设置创建时间
	 *
	 * @param createdTime 创建时间
	 */
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}

	public String toString() {
		return new StringBuilder().append("StatisticsEntity{").
				append("thirdId=").append(thirdId).
				append(",busdId=").append(busdId).
				append(",memberId=").append(memberId).
				append(",merchantId=").append(merchantId).
				append(",plateNumber=").append(plateNumber).
				append(",parkingName=").append(parkingName).
				append(",parkingId=").append(parkingId).
				append(",entranceTime=").append(entranceTime).
				append(",exitTime=").append(exitTime).
				append(",stayedTime=").append(stayedTime).
				append(",parkingFee=").append(parkingFee).
				append(",paidFee=").append(paidFee).
				append(",toll=").append(toll).
				append(",createdTime=").append(createdTime).
				append('}').toString();
	}

	/**
	 * 复制对象
	 *
	 * @return 复制后的新实体对象
	 */
	public StatisticsEntity copy() {
		return new StatisticsEntity(this);
	}

	/** 第三方ID */
	public static final String COL_THIRD_ID = "third_id";

	/** 商圈ID */
	public static final String COL_BUSD_ID = "busd_id";

	/** 会员ID */
	public static final String COL_MEMBER_ID = "member_id";

	/** 商户id */
	public static final String COL_MERCHANT_ID = "merchant_id";

	/** 车牌号 */
	public static final String COL_PLATE_NUMBER = "plate_number";

	/** 停车场名称 */
	public static final String COL_PARKING_NAME = "parking_name";

	/** 停车场ID */
	public static final String COL_PARKING_ID = "parking_id";

	/** 入场时间 */
	public static final String COL_ENTRANCE_TIME = "entrance_time";

	/** 出场时间 */
	public static final String COL_EXIT_TIME = "exit_time";

	/** 停留时间(以秒为单位计算) */
	public static final String COL_STAYED_TIME = "stayed_time";

	/** 总停车费 */
	public static final String COL_PARKING_FEE = "parking_fee";

	/** 已缴停车费 */
	public static final String COL_PAID_FEE = "paid_fee";

	/** 是否收费：0-不收费；1-收费 */
	public static final String COL_TOLL = "toll";

	/** 创建时间 */
	public static final String COL_CREATED_TIME = "created_time";
}
